<div class="panel">Student Profile Generator</div>
<div>
<form action="<?=site_url('excel_gen/student_profile_generator');?>" method="POST">
<div>
<legend class="label">Select Column to Generate</legend>
	<table style="width:100%;">
		<thead>
			<tr>
				<td></td>
				<td>System Variable</td>
				<td>Description</td>
			</tr>
		</thead>
		<tbody>
				<tr>
					<td><input type="checkbox" name="column[]" value="student_profile" checked></td>
					<td>Student Profile</td>
					<td>
						<ul>
						<li>Firstname</li>
						<li>Lastname</li>
						<li>Middlename</li>
						<li>Nickname</li>
						<li>Age</li>
						<li>Gender</li>
						<li>Nationality</li>
						<li>Contact Number</li>
						<li>Email</li>
						<li>Present Address</li>
						</ul>
					</td>
				</tr>
				
				<tr>
					<td><input type="checkbox" name="column[]" value="student_parent_profiles"></td>
					<td>Student Parent Profiles</td>
					<td>
						<ul>
						<li>Father Firstname</li>
						<li>Father Middlename</li>
						<li>Father Lastname</li>
						<li>Father Nationality</li>
						<li>Father Occupation</li>
						<li>Father Office Number</li>
						<li>Father Contact Number</li>
						<li>Father Graduate Degree</li>
						<li>Father Income Bracket</li>
						<li>Mother Firstname</li>
						<li>Mother Middlename</li>
						<li>Mother Last Name</li>
						<li>Mother Nationality</li>
						<li>Mother Occupation</li>
						<li>Mother Office Number</li>
						<li>Mother Contact Number</li>
						<li>Mother Graduate Degree</li>
						<li>Mother Income Bracket</li>
						<li>Step Father Firstname</li>
						<li>Step Father Middlename</li>
						<li>Step Father Lastname</li>
						<li>Step Father Citizenship</li>
						<li>Step Father Occupation</li>
						<li>Step Father Office Number</li>
						<li>Step Father Contact Number</li>
						<li>Step Father Graduate Degree</li>
						<li>Step Father Income Bracket</li>
						<li>Step Mother Firstname</li>
						<li>Step Mother Middlename</li>
						<li>Step Mother Lastname</li>
						<li>Step Mother Citizenship</li>
						<li>Step Mother Occupation</li>
						<li>Step Mother Office Number</li>
						<li>Step Mother Contact Number</li>
						<li>Step Mother Graduate Degree</li>
						<li>Step Mother Income Bracket</li>
						</ul>
					</td>
				</tr>
				
				<tr>
					<td><input type="checkbox" name="column[]" value="student_guardian_profile"></td>
					<td>Student Guardian Profile</td>
					<td>
						<ul>
						<li>Guardian Firstname</li>
						<li>Guardian Middlename</li>
						<li>Guardian Lastname</li>
						<li>Guardian Citizenship<li>
						<li>Guardian Visa</li>
						<li>Guardian Occupation</li>
						<li>Guardian Office Number</li>
						<li>Guardian Contact Number</li>
						</ul>
					</td>
				</tr>
		</body>
	</table>
</div>

<div>
<legend class="label">Select Grade Level to Generate</legend>
<table style="width:100%;">
		<thead>
			<tr>
				<td></td>
				<td>Description</td>
				<td>Columns</td>
			</tr>
		</thead>
		<tbody>
				<tr>
					<td><input type="checkbox" name="level[]" value="all" checked></td>
					<td>ALL</td>
					<td>ALL</td>
				</tr>
			<?foreach($level as $k => $c):?>
				<tr>
					<td><input type="checkbox" name="level[]" value="<?=$k;?>"></td>
					<td><?=$c;?></td>
					<td><?=$c;?></td>
				</tr>
			<?endforeach;?>
				
		</body>
	</table>
</div>
<input type="hidden" name="sd_loc" value="<?=$form_token;?>">
<input type="submit" name="generate_profiles" value="Generate Student Profiles" class="btn btn-primary">
</form>
</div>